﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CineProwl.Domain;

namespace CineProwl.Domain.MovieDb
{
    public class BaseMovieDb
    {
        internal List<ImageFile> GetImageList(Image[] images)
        {
            List<ImageFile> imageList = (from image in images
                                         select new ImageFile()
                                         {
                                             Height = image.image.height,
                                             Width = image.image.width,
                                             Size = image.image.size,
                                             Type = image.image.type,
                                             Url = image.image.url,
                                             Id = image.image.id
                                         }).ToList();
            return imageList;
        }
    }
}
